tools: correct tools/tests/depriv/Makefile
authorJuergen Gross <jgross@suse.com>
Fri, 7 Sep 2018 09:16:54 +0000 (11:16 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 13 Sep 2018 16:19:38 +0000 (17:19 +0100)
commit1c21390736524e1fdf7f99816ac54ae85aa9673c
treeea0a7c89a0d16d2b56b7473ac81e2c4d033cab6f
parente6963d9b6796000f51d2db40d1b375cf5012ffd5
tools: correct tools/tests/depriv/Makefile

tools/tests/depriv/Makefile directly builds the target program from
its C-source. This is problematic when an incremental build is needed
after a header the program is depending on has been modified: in this
case all headers are added into the gcc call and the build will fail.

Correct that by adding a rule for building the program from its .o
file.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/tests/depriv/Makefile